package version2024.easy;

import java.util.Scanner;

/**
 * @author sunhl
 * @Description: HJ22 汽水瓶
 * @Date: created in 2025/1/14 星期二 15:29
 * @Modified By:
 */
public class HJ22_WaterBottle {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        // 注意 hasNext 和 hasNextLine 的区别
        while (in.hasNext()) { // 注意 while 处理多个 case
            int a = in.nextInt();
            if (a == 0) {
                continue;
            }
            System.out.println(a / 2);
        }
    }
}
